package com.atguigu.study.test;

import java.util.concurrent.atomic.AtomicLong;

public class asdf {
    private static AtomicLong atomicLong = new AtomicLong(0);
    public static void main(String[] args) {

        asdf.A();
    }
    public static void A(){
        System.out.println(atomicLong.getAndIncrement());
       A();
    }
}